forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regular refresh from upstream repo. #160
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…6847) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846)
* Update base.ts * update base.ts * update mustache template * update samples --------- Co-authored-by: yangqiuyi <[email protected]>
…7001) * If a form param is an array and isn't caught in the previous checks, treat it as a slice of strings. * Add an example of a FormParam that is an array
…OpenAPITools#16865) * validate enum properties in validateJsonElement * regenerate samples * add test for enum validation in okhttp-gson models
…PITools#16738 (OpenAPITools#16859) * fix missing bean validation annotations on RequestBody * add new line to files * remove new line from files * reformat file
* Add Robocorp (robocorp.com) as user * Reference Robocorp into the README
* Add support for model name mapping for go Signed-off-by: Aidan Jensen <[email protected]> * Add model name and filename tests Signed-off-by: Aidan <[email protected]> * Use File.separator to make the test platform agnostic Signed-off-by: Aidan <[email protected]> --------- Signed-off-by: Aidan Jensen <[email protected]> Signed-off-by: Aidan <[email protected]>
* use Postman notation for path parameter * Regenerate samples
* trigger gradle build * update gradlew to use 7.x
* add powershell echo test, rename api key names * update
…ing Model folder (OpenAPITools#17025) * fix(powershell): make sure paths exists when building and importing module * chore(powershell): update sample psm1 and build.ps1 with path check
* fix circleci build * add maven opts * remove cache path * clear cache * fix node 0 * use 1024 * skip save cache * restore tests * fix * fix typo * update * clean up pom.xml
…penAPITools#17021) This is probably a pretty rare case as it just seems weird to have a time path parameter, but it's good to fix.
…nAPITools#16810) * init * fixed read and write * completed changes using latest-nrt sample * fixed all samples * add null check on write, change on exception * resolved conflicts * build samples * added backing property for not required properties * more not required and nullable hanlding improvements * revert sample updates for a merge master * revert sample updates for a merge master * sample build is working, need to remove warnings * fixed warnings in .net 7 with nrt * fixed manual tests * fixed all samples * fix npe * removed debugging lines * revert changes to unused file * removed unused lambdas * fix a serialization bug * make option a hidden property * updated documentation * improved parameter ordering
* add enum name mapping to java generators * update doc * update description
* update version to 7.2.0-SNAPSHOT * update samples * update doc
* fix null request body NPE * fix typo
…ols#17057) * Remove checks for jackson and jsonb from okhttp-gson templates * regenerate samples
* retain deprecated in allof schema handling * add test
* added handling for boolean content type * adapted addition to newer version of template * [python] updated samples
* python: adjust basic typing information This is an initial pass to fix and adjust the typing information for the generated client. This is enough to have mypy runnning without complains on all the (modern) generated clients (Pydantic v1 code is not checked for instance) mypy is also now run directly in the CI, so further changes will also be checked and thus, will need to be compliant with good typing information. Note that this doesn't *fully* type all the code: mypy is not run in "strict" mode and there are still many functions/methods/attributes which are still not fully typed, but it's a first good step in that direction. * ApiResponse's raw_data can't be None * Fix indentation * Revert test changes * run mypy on tests/ directory * don't forcefully convert the client response headers to dict * override petstore ApiResponse model * adjust type of 'any/one_of_schemas' fields
…e changed from "int" to "int *" (OpenAPITools#17540)
* Rust Server - Axum based (#5) * Fix typo * Address comment * Address comment
) * Fix ObjectMapper deprecation warnings Signed-off-by: Steven Sheehy <[email protected]> * Fix missing JsonMapper import Signed-off-by: Steven Sheehy <[email protected]> --------- Signed-off-by: Steven Sheehy <[email protected]>
…#17562) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.2...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* python: more mypy checks * mypy: check_untyped_defs * mypy: disallow_subclassing_any * mypy: disallow_untyped_decorators * mypy: disallow_any_generics
…ollections OpenAPITools#17460 (OpenAPITools#17463) * OpenAPITools#17460 add missing empty collection check * generate samples
…nAPITools#17499) * fix: ExampleGenerator correctly generates allOf composed schemas Changes the previous behavior of generating `null` examples for allOf composed schemas. Fixes OpenAPITools#17497 * fix: ExampleGenerator correctly generates anyOf and oneOf composed schemas Changes the previous behavior of generating `null` examples for anyOf and oneOf composed schemas. To generate a oneOf/anyOf example, we generate the example using the first valid schema available. In case of a $ref, we use the first valid reference. Fixes OpenAPITools#17497
…penAPITools#17158) * Add ability to append ServerHttpRequest for kotlin-spring generator * Add generated doc & sample
* Add tags on kotlin-spring * Fix review
… with examples (OpenAPITools#17495) When an example was specified for a property with the `date` format, it's example would be generated to something like `2024-01-01T00:00:00.000+00:00` or `Sat Jan 30 01:00:00 CET 2021`. It's because the resolved type for a Date example is a DateSchema, and a DateSchema uses `java.util.Date` to represents the Date. Which gets printed using .toString() not in the YYYY-MM-dd format. Fixes OpenAPITools#17494 OpenAPITools#15342
* feat: DateOnly for client * fix: generated doc for csharp * doc: fix generators README for csharp * add DateOnly option for aspnet * refactor: update csharp docs * refactor: fix typo * finish * finish * finish * regenerate * rebuild and regenerate * fix build error * finish * revert path * regenerate * remove exceed samples * regenerate * add DateOnly to nullable * remove obsolete file from list * update test files list * remove obsolete sample build * revert manual tests * revert samples to master and regenerate * remove new samples * remove eol * remove eol * add new specs * try fix test * update tests * update files * remove eol * revert * remove eol * regenerate * add net6+ support to aspnetcore * add jobs
* Implement scala http4s server generator * Fix types and auth * Add proper handling of various responses * Fix configs * Drop null values in json encoder * Add sample files --------- Co-authored-by: m.tkachev <[email protected]>
…g-webclient and jvm-spring-restclient (OpenAPITools#17393) * Add default values to optional parameters for jvm-spring-webclient * Update samples * Add default values to optional parameters for jvm-spring-restclient
Replace signals,slots and emit with Q_SIGNALS,Q_SLOTS and Q_EMIT Because these names will be used by a 3rd party library
* [kotlin-client][jvm-spring-*] do URL encoding via the UrlBuilder instead of manual replacement * [kotlin-client][jvm-spring-*] Fixed imports * ensure up-to-date * Fixed syntax problem * Removed unnecessary toString()
… exploded (OpenAPITools#17568) * Fix NPE when query param with value null is exploded * Polish * Add test * Update tests * Add integration test
…to refresh/jan-2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
(upcoming 7.1.0 minor release - breaking changes with fallbacks),8.0.x
(breaking changes without fallbacks)